package pokerserver;

public class Player {
	
	private final String name;
	private final int tableSpot;
	private final int role;  //0 if AI, 1 if human, 2 if out of game 
	private int money;
	private String[] pocketCards;

	public Player(String name, int role, int tableSpot, int money, String[] pocketCards) {
		super();
		this.name = name;
		this.role = role;
		this.tableSpot = tableSpot;
		money = 100;
		pocketCards = new String[2];
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public String[] getPocketCards() {
		return pocketCards;
	}

	public void setPocketCards(String[] pocketCards) {
		this.pocketCards = pocketCards;
	}

	public String getName() {
		return name;
	}

	public int getTableSpot() {
		return tableSpot;
	}

	public int getRole() {
		return role;
	}

	
	
}
